#include<iostream>
using namespace std;
int main()
{
	int nl=15;
	short n2=-15;
	unsigned short n3=0xffe0;
	unsigned char c=15;
	nl = nl>>2;
	n2>>=3;
	n3>>=4;
	c>>=3;
	cout<<nl<<","<<n2<<","<<hex<<n3<<","<<(int)c;
	return 0;
}